//
//  CaseTableViewCell1.m
//  LiangYa_BObject
//
//  Created by dllo on 15/10/29.
//  Copyright © 2015年 YuHao. All rights reserved.
//

#import "CaseTableViewCell1.h"

@implementation CaseTableViewCell1
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.myimageview = [[UIImageView alloc] init];
        [self.contentView addSubview:self.myimageview];
        
        self.mylabel = [[NightLabel alloc] init];
        [self.contentView addSubview:self.mylabel];
        self.mylabel.font = [UIFont systemFontOfSize:15];
        self.mylabel.text = @"设计师 :";
        
        self.mylabel1 = [[NightLabel alloc] init];
        [self.contentView addSubview:self.mylabel1];
        self.mylabel1.font = [UIFont systemFontOfSize:15];
    }
    
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.backgroundColor = [UIColor clearColor];
    self.myimageview.frame = CGRectMake(10, 3, cellHeight - 6 , cellHeight - 6);
    self.myimageview.layer.cornerRadius = (cellHeight - 6) /2;
    self.myimageview.layer.masksToBounds = YES;
    
    self.mylabel.frame = CGRectMake(cellHeight + 10, 5, 60, 30);
    
    self.mylabel1.frame = CGRectMake(cellHeight + 75, 5, 80, 30);
    
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
